using System;
using System.Collections.Generic;
using System.Text;
using System.Drawing;
using MULENetworking;



namespace MULEServer
{
    [Serializable]
    public class ServerMapSquare: IMapSquare
    {
        protected Point location;
        protected Rectangle rectangleLocation;
        protected string type;
        protected int numMountains;
        protected IPlayer owner;  
        protected string mule; 
        protected int etnum;
        protected Bitmap energy, energy1, food, house, smithore1, smithore2, smithore3, muleenergy, mulefood, mulesmithore, mulecrystite;

       

        public ServerMapSquare(Point loc, string typ, int num, string mul) //location, resources on square, number of mountains, type of mule
        {
            location = loc;
            type = typ;
            numMountains = num;
            mule = mul;
            Random rand = new Random(); 
        }


#region properties
        public Point Position
        {
            
            get { return location; }
            set { location = value; }

        }

        public int NumMountains
        {
            get { return numMountains; }
        }

        public string Type
        {
            get { return type; }
            set { type = value; }
        }

        public int Mountains
        {
            get{return numMountains;}
            set { numMountains = value; }
        }


        public IPlayer Owner
        {
            get { return owner; }
            set { owner = value; }
        }


        public string Mule
        {
            get { return mule; }
            set { mule = value; }
        }
#endregion

       
    }
}
